﻿namespace DataStructuresCSharp.Tree
{
    public class TreeNode<T>
    {
        public TreeNode(T data)
        {
            Data = data;
        }

        public T Data { get; set; }

        public override string ToString()
        {
            return Data.ToString();
        }
    }
}
